<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ include file="menu.jsp" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<title>anminList</title>
	<style>
		.table_head th{
			width: 200px;
		}

		.adminList tr td{
			width: 200px;
		}

	</style>

</head>
<body>
<br>
		<div class="condition" style="padding-left: 200px;border: 1px solid #5e5e5e">
			用户id：<input type="text" />
			用户名：<input type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button>
				检索
			</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button >
				<a href="${pageContext.request.contextPath}/add.jsp">新增</a>
			</button>
		</div><br>

		<table class="tablelist" border="1" style="padding-left: 200px;border: 1px solid #5e5e5e">
			<thead class="table_head">
				<tr>
					<th>序号</th>
					<th>管理员ID</th>
					<th>用户名</th>
					<th width="120px">操作</th>
				</tr>
			</thead>
			<c:forEach items="${adminList}" var="admin" varStatus="vs">
				<tbody class="adminList">
				<tr align="center">
					<td>${vs.count}</td>
					<td>${admin.sysId}</td>
					<td>${admin.sysName}</td>

					<td>
						<button class="edit">
							<a href="AdminQueryOne?sysId=${admin.sysId}">修改</a>
						</button>&nbsp;&nbsp;&nbsp;&nbsp;
						<button class="remove">
							<a href="AdminDeleteOne?sysId=${admin.sysId}">删除</a>
						</button>
					</td>
				</tr>
				</tbody>
			</c:forEach>
		</table><br>

		<table class="page">
			<td>
				<button> 首页</button>
				<button> 上一页</button>
				<button> 下一页</button>
				<button> 尾页</button>
				<input type="text" class="page-no" name="pageNo" />
				<button> 跳转</button>
			</td>
		</table>
		</div>
	</body>
</html>
